<!-- begin slider warp -->
<div class="wrap">

	<div id="icon-edit" class="icon32"><br /></div>
	<h2>Home Page Container Widgets</h2>
	
<form action="options.php" method="post">
	<?php wp_nonce_field('update-options'); ?>
	
	<!-- begin slider table -->
	<table cellspacing="0" class="widefat" style="margin-top:20px; margin-bottom:20px;">
		<thead>
			<tr>
				<th>
				
					<div style="display:table; float:left;">
						<div style="float:left;">
							<input type="image" name="settings" value=" " style="background:none; background:url(<?php echo bloginfo('template_url'); ?>/images/admin/save.png); border:0; cursor:pointer; width:32px; height:31px; display:table;"/>
						</div>
						<div class="savecss">
							<input type="submit" name="publish" id="publish" accesskey="p" tabindex="5" value="SAVE"/>
						</div>
					</div>
				
				</th>
			</tr>
		</thead>

		<tbody>
			
			<tr class='pad alternate'>
				<td>

					<h2>Widgets General Settings</h2>

				</td>
			</tr>
			
			<tr class="pad ">
			<td>
			
				<div class="short_title_div">Widgets (on /off)</div>
				
				<div>
				<?php	list_onoff("home_widgets_active",get_option('home_widgets_active', 'on'));	?>
				</div>
			</td>
			</tr>
			
			<tr class="pad ">
			<td>
			
				<div class="short_title_div">Widgets Title Size</div>
				<div>
					<input type="text" name="widgets_title_size" size="5" value="<?php echo get_option('widgets_title_size', 22); ?>" /><span class="tablespan">px</span>			
				</div>
				
				<div class="short_title_div">Title Color</div>
				<div>
					<script type="text/javascript" charset="utf-8"> jQuery(function($) { $("#picker1").attachColorPicker(); });</script>
					<input type="text" name="widgets_title_color" id="picker1" size="10" maxlength="7" value="<?php echo get_option('widgets_title_color', '#555555'); ?>"> 
				</div>
			</td>
			</tr>
			
			<tr class="pad ">
			<td>
			
				<div class="short_title_div">Widgets Content Size</div>
				
				<div>
				<input type="text" name="widgets_content_size" size="5" value="<?php echo get_option('widgets_content_size', 13); ?>" /><span class="tablespan">px</span>			
				</div>
				
				<div class="short_title_div">Content Color</div>
				<div>
					<script type="text/javascript" charset="utf-8"> jQuery(function($) { $("#picker2").attachColorPicker(); });</script>
					<input type="text" name="widgets_content_color" id="picker2" size="10" maxlength="7" value="<?php echo get_option('widgets_content_color', '#555555'); ?>"> 
				</div>
			</td>
			</tr>
			

			<tr class='pad alternate'>
				<td>

					<h2>Widget 1</h2>

				</td>
			</tr>


			<tr class="pad ">
			<td>
			
				<div class="small_title_div">Image</div>
				<div>
				<input type="text" name="widget1_image" id="widget1_image" class="upload_input" tabindex="1" size="100" value="<?php echo get_option('widget1_image', get_bloginfo('template_url').'/images/default/img1.png'); ?>" />
				<a href="media-upload.php?post_id=1&type=image&TB_iframe=true" id="widget1_image" class="set_input thickbox button-primary" title="Add an Font">Upload</a> <span class="tablespan">( max-width:280px & max-height:130px )</span>
				</div>

			</td>
			</tr>

			
			<tr class="pad ">
			<td>
			
				<div class="small_title_div">Title</div>
				
				<div>
					<input type="text" name="widget1_title" tabindex="1" size="100" value="<?php echo get_option('widget1_title', 'Professional Admin Options'); ?>" />
				</div>
				
			</td>
			</tr>
			
					
			<tr class="pad">
			<td>
			
					<p>Content:<p />
			<textarea style="width:100%; height:100px;" name="widget1_desc"><?php echo get_option("widget1_desc", "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen."); ?></textarea>
				
			</td>
			</tr>
			
			
			
			<tr class="pad">
			<td>
			
				Read more : <input type="text" name="widget1_read_more" tabindex="1" size="20" value="<?php echo get_option('widget1_read_more', '+ learn more'); ?>" />

				link : <input type="text" name="widget1_read_more_link" tabindex="1" size="30" value="<?php echo get_option('widget1_read_more_link'); ?>" />
				<select style="width: 70px;" name="widget1_read_more_target">
				
					<?php if(get_option('widget1_read_more_target') == "_blank"){ ?>
						<option>_blank</option>
						<option>_self</option>
					<?php } else { ?>
						<option>_self</option>
						<option>_blank</option>
					<?php } ?>
					
				</select>
			</td>
			</tr>
			
			
			<tr class='pad alternate'>
				<td>

					<h2>Widget 2</h2>

				</td>
			</tr>
			
			<tr class="pad ">
			<td>
			
				<div class="small_title_div">Image</div>
				
				<div>
					<input type="text" name="widget2_image" id="widget2_image" class="upload_input" tabindex="1" size="100" value="<?php echo get_option('widget2_image', get_bloginfo('template_url').'/images/default/img2.png'); ?>" />
					<a href="media-upload.php?post_id=2&type=image&TB_iframe=true" id="widget2_image" class="set_input thickbox button-primary" title="Add an Font">Upload</a> <span class="tablespan">( max-width:280px & max-height:130px )</span>
				</div>
			</td>
			</tr>
			
			
			<tr class="pad ">
			<td>
				<div class="small_title_div">Title</div>
				<div>
					<input type="text" name="widget2_title" tabindex="1" size="100" value="<?php echo get_option('widget2_title', 'Awesome Page &#38; Shortcodes'); ?>" />
				</div>
			</td>
			</tr>
			
			<tr class="pad">
			<td>
			
					<p>Content:<p />
			<textarea style="width:100%; height:100px;" name="widget2_desc"><?php echo get_option("widget2_desc", "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen."); ?></textarea>
				
			</td>
			</tr>
			
			
			
			<tr class="pad">
			<td>
			
				Read more : <input type="text" name="widget2_read_more" tabindex="1" size="20" value="<?php echo get_option('widget2_read_more', '+ learn more'); ?>" />

				link : <input type="text" name="widget2_read_more_link" tabindex="1" size="30" value="<?php echo get_option('widget2_read_more_link'); ?>" />
				<select style="width: 70px;" name="widget2_read_more_target">
				
					<?php if(get_option('widget2_read_more_target') == "_blank"){ ?>
						<option>_blank</option>
						<option>_self</option>
					<?php } else { ?>
						<option>_self</option>
						<option>_blank</option>
					<?php } ?>
					
				</select>
			</td>
			</tr>
			


			
			
			<tr class='pad alternate'>
				<td>

					<h2>Widget 3</h2>

				</td>
			</tr>
			
			<tr class="pad ">
			<td>
			
				<div class="small_title_div">Image</div>
				
				<div>
					<input type="text" name="widget3_image" id="widget3_image" class="upload_input" tabindex="1" size="100" value="<?php echo get_option('widget3_image', get_bloginfo('template_url').'/images/default/img3.png'); ?>" />
					<a href="media-upload.php?post_id=3&type=image&TB_iframe=true" id="widget3_image" class="set_input thickbox button-primary" title="Add an Font">Upload</a> <span class="tablespan">( max-width:280px & max-height:130px )</span>
				</div>
			</td>
			</tr>
			
			<tr class="pad ">
			<td>
			
				<div class="small_title_div">Title</div>
				<div>
					<input type="text" name="widget3_title" tabindex="1" size="100" value="<?php echo get_option('widget3_title', 'Bonus Fade, Nivo, 3D Slider!'); ?>" />
				</div>
			</td>
			</tr>
			
					
			<tr class="pad">
			<td>
			
					<p>Content:<p />
			<textarea style="width:100%; height:100px;" name="widget3_desc"><?php echo get_option("widget3_desc", "Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen."); ?></textarea>
				
			</td>
			</tr>
			
			
			
			<tr class="pad">
			<td>
			
				Read more : <input type="text" name="widget3_read_more" tabindex="1" size="20" value="<?php echo get_option('widget3_read_more', '+ learn more'); ?>" />

				link : <input type="text" name="widget3_read_more_link" tabindex="1" size="30" value="<?php echo get_option('widget3_read_more_link'); ?>" />
				<select style="width: 70px;" name="widget3_read_more_target">
				
					<?php if(get_option('widget3_read_more_target') == "_blank"){ ?>
						<option>_blank</option>
						<option>_self</option>
					<?php } else { ?>
						<option>_self</option>
						<option>_blank</option>
					<?php } ?>
					
				</select>
			</td>
			</tr>
			
		</tbody>
			
		<!-- begin add item button -->
		<tfoot>
			<tr>
				<th>
					<div style="display:table; float:left;">
						<div style="float:left;">
							<input type="image" name="settings" value=" " style="background:none; background:url(<?php echo bloginfo('template_url'); ?>/images/admin/save.png); border:0; cursor:pointer; width:32px; height:31px; display:table;"/>
						</div>
						<div class="savecss">
							<input type="hidden" name="action" value="update" />
							<input type="hidden" name="page_options" value="home_widgets_active, widgets_title_size, widgets_title_color, widgets_content_size, widgets_content_color, widget3_image, widget3_title, widget3_desc, widget3_read_more, widget3_read_more_link, widget3_read_more_target, widget2_image, widget2_title, widget2_desc, widget2_read_more, widget2_read_more_link, widget2_read_more_target, widget1_image, widget1_title, widget1_desc, widget1_read_more, widget1_read_more_link, widget1_read_more_target" />
							<input type="submit" name="publish" id="publish" accesskey="p" tabindex="5" value="SAVE"/>
						</div>
					</div>
				</th>
			</tr>
		</tfoot>
		<!-- end add item button -->

	</table>
	<!-- end slider table -->

</form>



</div>